package cn.source.common.enums;

public enum GongzhonghaoContent {
    JUMO("jumo", "「iOS巨魔越狱资源」，来自夸克网盘分享。\n" +
            "夸克网盘无需下载在线播放视频，畅享原画5倍速，支持电视投屏。\n" +
            "/~7f1833u9bL~:/\n" +
            "链接：https://pan.quark.cn/s/bc9869c61825\n" +
            "提取码：Srvq"),
    JUMO_CN("巨魔", "「iOS巨魔越狱资源」，来自夸克网盘分享。\n" +
            "夸克网盘无需下载在线播放视频，畅享原画5倍速，支持电视投屏。\n" +
            "/~7f1833u9bL~:/\n" +
            "链接：https://pan.quark.cn/s/bc9869c61825\n" +
            "提取码：Srvq"),

    NONE("none", "暂时未找到信息，请换个关键词试试吧"),

    ;

    private final String code;

    private final String value;

    GongzhonghaoContent(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    public static GongzhonghaoContent fromString(String inputContent) {
        for (GongzhonghaoContent outputContent : GongzhonghaoContent.values()) {
            if (outputContent.getCode().equalsIgnoreCase(inputContent)) {
                return outputContent;
            }
        }
        return NONE;
    }

}
